﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>英语水平评估</title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <link href="Styles/testing-v=20131213103.css" rel="stylesheet" type="text/css" />
    <script  type="text/javascript" src="Styles/js/jquery.js"></script>
    <script  type="text/javascript" src="Styles/js/DD_belatedPNG_0.0.8a.js"></script>
    <style type="text/css">
        .top1{ width:902px; margin:0 auto; background:url(../images/testing/background_top.png) no-repeat; height:140px; overflow:hidden; display:block; padding:46px 100px 0 100px;}
    </style>
</head>

<body>

<div class="top1 png_bg" >
    <div class="logo1" >
        <img src="Styles/images/logo_1.png" alt=""  />
    </div>
    
</div>
<div class="center png_bg">
    <div class="l_r">
        <div class="title"><font style="font-weight:bold;">1. 词汇&语法 (基础知识) </font>| <font style="font-size:12px;">词汇&语法 | 根据题意，选择最佳答案。</font></div>
    </div>
    <div class="left_2">
        <span>根据题意，选择最佳答案，或者选取最合适的单词或短语完成整个句子。</span>
    </div>
    <div class="right_2">
        <div class="title_r">
            <span id="word_index" ></span>.&nbsp;<span id="name"></span>
        </div>
        <div class="box_r">
            <div><input name="selection" type="radio" value="A" id="av"/><span id="selection0"></span></div>
            <div><input name="selection" type="radio" value="B" id='bv'/><span id='selection1'></span></div>
            <div><input name="selection" type="radio" value="C" id='cv'/><span id='selection2'></span></div>
            <div><input name="selection" type="radio" value="D" id='dv'/><span id='selection3'></span></div>
            <div class="button png_bg"><a href="#" id="next" >下一题&nbsp;&nbsp;&nbsp;</a></div>
        </div>
    </div>
    <div class="l_r l_r3" style="text-align:center;" id='progress'>
        <span class="quan png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span><span class="png_bg"></span>
    </div>
</div>
<div class="tiao png_bg">
    <div class="tiao_bg">
        <ul class="ul_tiao">
            <li class="li_tiao ch_c">
                <div class="sanjiao png_bg">&nbsp;</div>
                <div class="ch_tiao png_bg">&nbsp;</div>
                <span>词汇&语法</span>
            </li>
            <li class="li_tiao yf">
                <div class="sanjiao png_bg">&nbsp;</div>
                <div class="yf_tiao png_bg">&nbsp;</div>
                <span>综合应用</span>
            </li>
            <li class="li_tiao yd">
                <div class="sanjiao png_bg">&nbsp;</div>
                <div class="yd_tiao png_bg">&nbsp;</div>
                <span>阅读理解</span>
            </li>
        </ul>
    </div>
</div>
<div class="footer png_bg">
</div>
<div style='display:none;'>
    <form id='wordform' action="?step=begingrammar&type=nologin" method="post">

    </form>
</div>
<script type="text/javascript">
    DD_belatedPNG.fix(".png_bg");
    var words = [{ "name": "My neighbor Helen never talks to me. She is _____.", "selection": ["a friend", "unfriend", "unfriendly", "friendly"] }, { "name": "You can buy the books ______ the foreign languages shop ______ Wangfujing Street.", "selection": ["in, at", "at, on", "at, in", "in, on"] }, { "name": "There is ______ useful book on the bookshelf.", "selection": ["a", "an", "the", "\\"] }, { "name": "I spend most of my time reading in the library, where I can open my eyes and ______ my mind.", "selection": ["expand", "build", "brag", "broaden"] }, { "name": "How do you ______ with someone you can\u2019t trust?", "selection": ["break up", "break into", "break away", "break out"] }, { "name": "Nancy advised me to label our luggage carefully in case they get _____ in transit.", "selection": ["misused", "mishandled", "mistaken", "mislaid"] }, { "name": "Could you please tell me ______ your oral English?", "selection": ["how did you improve", "how you\u2019re improving", "how do you improve ", "how you improved"] }, { "name": "I _____ when the earthquake ______.", "selection": ["was sleeping, happened", "slept, happened", "was sleeping, was happened", "slept, was happening"] }, { "name": "They ______ the hotel, managed to get the lady fired and got back about twenty thousand dollars.", "selection": ["sued", "suffered", "supervised", "stretched"] }, { "name": "If you feel you ______ against, you\u2019ll be able to bring a claim to an employment tribunal.", "selection": ["have been discriminated", "are discriminated", "discriminated", "had been discriminated"]}];

</script>


<script type="text/javascript">
    $(function () {
        var i = 0;
        var answers = { words: {} };
        $('#next').click(function () {
            if (i != 0 && $(':radio[name=selection][checked]').length == 0) {
                if (confirm('确定放弃本道题的回答吗？')) {
                    var word_index = $('#word_index').text();
                    answers.words[word_index] = 'E';
                } else {
                    return false;
                }
            }
            var item = words[i];

            $('input[name=selection]').attr('checked', '');
            $.each(item.selection, function (k, v) {
                $('#selection' + k).text(v).attr('stmp', (new Date()).getTime());
            });
            $('#word_index').text(i + 1)
            $('#name').html(item.name);
            $($('#progress').find('span').get(i)).addClass('quan').siblings().removeClass('quan');
            i++;
            if (i == 10) {
                $(this).unbind().html('继&nbsp;&nbsp;&nbsp;续&nbsp;&nbsp;&nbsp;').click(function () {
                    var form = $('#wordform');
                    $.each(answers.words, function (k, v) {
                        form.append('<input type="input" name="word_question' + k + '" value="' + v + '" />')
                    });
                    form.submit();
                });
            }
        });
        $('input[name=selection]').click(function () {
            var word_index = $('#word_index').text();
            var selection = $(this).val();
            answers.words[word_index] = selection;
        });
        $('#next').trigger('click');
    })
</script>

</body>
</html>